Type.registerNamespace("SCS");SCS.DialogBehavior=function(a){SCS.DialogBehavior.initializeBase(this,[a])};SCS.DialogBehavior.prototype={initialize:function(){SCS.DialogBehavior.callBaseMethod(this,"initialize")},dispose:function(){SCS.DialogBehavior.callBaseMethod(this,"dispose")},_layout:function(){var a=new Sys.CancelEventArgs;this.raiseRepositioning(a);!a.get_cancel()&&SCS.DialogBehavior.callBaseMethod(this,"_layout")},add_Repositioning:function(a){this.get_events().addHandler("Repositioning",a)},remove_Repositioning:function(a){this.get_events().removeHandler("Repositioning",a)},raiseRepositioning:function(b){var a=this.get_events().getHandler("Repositioning");a&&a(this,b)}};SCS.DialogBehavior.registerClass("SCS.DialogBehavior",Sys.Extended.UI.ModalPopupBehavior);